package com.mashibing.smsgateway.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;
import java.util.Set;

/**
 * @author SNA
 * @date 2025/8/20
 * @Description
 **/
@FeignClient(value = "beacon-cache")
public interface BeaconCacheClient {

    @GetMapping("/cache/hget/{key}/{field}")
    Integer hgetInteger(@PathVariable("key") String key, @PathVariable("field") String field);

    @GetMapping("/cache/hget/{key}/{field}")
    String hget(@PathVariable("key") String key, @PathVariable("field") String field);
}
